<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<meta name="description" content="">
<meta name="author" content="">

<title>WINIT OAuth授权成功</title>

<!-- Bootstrap core CSS -->
<link href="js/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="css/base.css" rel="stylesheet">

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>

	<!-- header -->
	<div id="header">
		<div class="lay-top">
			<div class="lay-top-inner clearfix">
				<i class="logo"></i>
				<div class="text-hide clearfix">
					<i class="logo-line m-lr-20"></i> <span>账户授权</span>
				</div>
			</div>
		</div>
	</div>
	<!-- /header -->
	<!-- content -->
	<div id="content" class="authorization-content">
		<div>
			<div>
				<i class="icon success"></i> <span class="authorization-prompt">授权成功！</span>
				<br /> <br />
				<span>您已经成功授权应用的使用权限，请复制以下token密钥并粘贴至应用中的绑定账户页面。</span>
				<p>以下为授权信息:</p>
				<br />
				<br />
				[Account/账户]:${username}
				<br />
				<br />
				[Token/密钥]:${access_token} <br />
				<br /> <br />
				<span>若您仍有使用问题，您可以联系应用客服咨询或登陆万邑联系统在在页面右侧联系在线客服解决。</span>
			</div>
			<div>
				<div class="m-l-90">
					<!-- <p>同意授权将允许应用分享您的万邑通数据。请放心，我们不会分享您的账户密码和敏感信息。</p>
					<p>
						您可以任何时候在<a href="javascript:void(0)" onclick="subgo()"
							class="m-xs-lr">授权管理</a>中解除授权，终止数据分享；或在授权失效时刷新授权。
					</p> -->
					<!--   <p>请仔细阅读<a href="javascript:;" class="m-xs-lr">《Winit服务条款隐私政策》</a>，这些政策将决定您使用的此项服务。</p>-->
					<%-- <div class="m-t-55">
						<p>
							您已经成功授权<span class="operative-title">${client_name}</span>操作您的万邑通账户。
								<c:choose>

								<c:when test="${not empty isDefaultURL}">
						页面将在<span class="countdowm-time m-xs-lr" id="countDown">5</span>秒后自动跳转
						</c:when>

							</c:choose>

						</p> --%>
				</div>
				<div class="m-t-55 clearfix">
					<div class="m-r-35 float-left">
						<a href="javascript:void(0)" onclick="subgo()"
							class="confirm-button">现在返回</a>
					</div>
					<div class="float-left other-operations">
						转至<a href="http://www.winit.com.cn" class="m-xs-lr">万邑联</a>
						<!--  或<a href="javascript:void(0)" onclick="subgo()" class="m-xs-lr">授权管理</a>-->
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- /content -->
	<!-- /content -->
	<!-- footer -->
	<div id="footer" class="app-footer b-t" role="footer">
		<div class="text-center">Copyright WINIT CORPORATION. All Rights
			Reserved</div>
	</div>
	<!-- /footer -->
	<script src="js/jquery/1.12.4/jquery.min.js"></script>
	<script src="js/bootstrap/js/bootstrap.min.js"></script>
	<script src="js/common.js"></script>
	<script>
		// 		$(function() {

		// 			//倒计时
		// 			$.fn.countDown = function() {
		// 				var wait = $('#countDown').text();
		// 				var _this = $(this);
		// 				+function timeOut() {
		// 					if (wait == 0) {
		// 						window.location.href = '${client_url}';
		// 					} else {
		// 						setTimeout(function() {
		// 							wait--;
		// 							_this.text(wait);
		// 							timeOut();
		// 						}, 1000)
		// 					}
		// 				}()
		// 			}
		// 			$('#countDown').countDown();

		// 			$('.operative-title')
		// 					.text(decodeURI(location.search).split('=')[1]);
		// 		})

		function subgo() {

			window.history.back();
		}
	</script>
</body>
</html>